package com.headingdata.d2_inner_class2;

public class Outer {

    private String name = "outerName";
    public  static  String SchoolName = "BIM";

    public static class Inner{
        private String name = "innerName";
        public static  int a;

        public void test(){
            System.out.println(this.name);
            System.out.println(name);
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public static int getA() {
            return a;
        }

        public static void setA(int a) {
            Inner.a = a;
        }
        public static void test2(){
            System.out.println(SchoolName);
        }
    }
}
